
import React from 'react'
import HOC from './HOC'

class ExplainRef extends React.Component {


  // constructor() {
  //   this.state = {
  //     name: 'ExplainRef'
  //   }
  // }

  // getName() {
  //   console.log("我是ExplainRef");
  // }
  render() {
    return (
      <div>
        <span>高阶组件Ref属性</span>
      </div>
    )
  }
}
export default HOC(ExplainRef)